package com.abel.demo.services;

import com.abel.demo.domain.UserInfoDomain;
import com.abel.demo.model.SecAuthorityModel;
import com.abel.demo.model.SecRoleModel;
import org.springframework.stereotype.Service;
import com.abel.demo.model.UserInfoModel;
import com.abel.demo.model.UserInfoModelCriteria;

import java.util.List;

/**
* @author abel.lin
* @date_time 2018-07-11 18:26
* @description
*/
@Service
public interface UserInfoService extends BaseService<UserInfoModel,UserInfoModelCriteria>{

    public UserInfoDomain getUserDomainByUserName(String userName);
    public List<SecAuthorityModel> selectAuthoritiesByUserName(String userName);
    public List<SecRoleModel> selectRolesByUserName(String userName);
}
